package com.suntront.lib_db.dao;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Query;

import com.suntront.lib_db.table.ErrorT;

import java.util.List;

@Dao
public interface ErrorTDao {

    @Delete
    int deleteError(ErrorT errorT);

    @Query("SELECT * FROM ErrorT ")
    List<ErrorT> querydisUpdataErrorT();

    @Query("SELECT * FROM ErrorT WHERE UserInfoID = :userInfoID")
    List<ErrorT> querydisUpdataErrorTByUserInfoId(String userInfoID);

}
